package com.example.myproject;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Application.java 建议放到根目录下面,主要用于做一些框架配置
 * 主程序,一个带有main()方法的类，用于启动应用程序（关键）。
 * 项目启动类
 *
 */

//@EnableTransactionManagement
//@MapperScan("com.example.myproject.mapper")
//@PropertySource("classpath:core.properties")
@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
